<%@ page import="com.xlcszsgc.module.blob.domain.BaseBlob" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
 <%@ taglib uri="project-page" prefix="page" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="../../skin/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../../skin/comm.js"></script>
<script type="text/javascript" src="../../skin/commscript_jquery.js"></script>
 <script type="text/javascript" src="../../skin/jquery/easyloader.js"></script>
 <link href="../../skin/css/q_kevin_css.css" rel="stylesheet" type="text/css" />
<link href="../../skin/css/q_div_css.css" rel="stylesheet" type="text/css" />
<link href="../../skin/css/kevin_css.css" rel="stylesheet" type="text/css" />
<link href="../../skin/css/div_css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function delImg(){
		goActionWithTargetDoCheckBox(0,'./delAnliImg.do','_self',$("input[name=searchBlobIds]"));
	}
	
</script>
<%
 	String path = request.getContextPath();
 	String imgPath  = path + "/skin/image/";
 %>
</head>
<body class="body_resource" style="border-left:1px solid #b2d8e5; border-top:1px solid #b2d8e5">
<form name="form" method="post" action="./showAnliImg.do"> 
<table width="100%"  class="tab_main">
  <tr>
     <td width="15" align="right"><img src="<%=imgPath %>dian03.gif"></img></td>
    <td class="blue12_18b" style="padding-top:3px; padding-left:5px;white-space:nowrap">图片管理</td>
    <td width="20" align="left" class="blue12_20" style="padding-top:3px"><img src="<%=imgPath %>SHANG.png" id="imgxia" width="13" height="13" onclick="switchsearch(0)" title="收起"/><img src="<%=imgPath %>XIA.png" id="imgshang" width="13" height="13" style="display:none" onclick="switchsearch(1)" title="展开"/></td>
  </tr>
</table>


<table width="100%">
  <tr>
    <td style="padding:10px"><table width="100%"  class="biao_tab02">
      <tr>
        <td style="padding-left:10px"  class="blue12_18b"><span class="blue12_18b" style="padding-top:3px; padding-left:5px;white-space:nowrap">图片列表</span></td>
        <td align="right" style="padding-right:10px"><table >
          <tr>
            <td><input type="button" name="Submit4" value="删除" class="biao_an submit2" onclick="delImg();"/></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <table width="100%" class="tab_con black12_20">
      <tr class="blue12_20b">
        <th width="53">全选 <input class="allCheck" id="quanxuan" type="checkbox"  name="checkbox"  style="vertical-align: middle"  onclick="checkAll($('input[name=searchImgNames]'),this);"/></th>
        <th width="310">小图</th>
        <th width="310">大图</th>
      </tr>
        <%int sign=1; %>
      <c:forEach items="${baseCommond.resultCollection}" var="img" > 
      <%if(sign % 2 == 1) {
    	  %>
      	<tr class="biao_tr_mouse1">
      <%}else{ %>
      	<tr class="biao_tr_mouse2">
      <%} %>
        <td align="center"><input class="ckbox" type="checkbox" name="searchBlobIds" value="<c:out value='${img.blobId }'/>"/></td>
        <td style="word-break:break-all" align="center" ><img width="200px" height="180px" src="../../portal/baseblob/showImage.do?searchBlobId=${img.blobId }" alt="图片显示出错" /></td>
        <td style="word-break:break-all" align="center" ><img width="300px" height="220px" src="../../portal/baseblob/showImage.do?searchBlobId=${img.baseBlob.blobId }" alt="图片显示出错" /></td>
	    </tr>
      		
       <%sign++; %>
      </c:forEach>
    </table></td>
  </tr>
</table>
<table width="100%" >
  <tr>
    <td align="right" style="padding:10px">
    	<page:pageno commondName="baseCommond" classType="blue12_18_2"/>
    </td>
  </tr>
</table>

</form>
</body>
</html>